package com.bds.mynotebook.addeditnotes;

import androidx.databinding.BaseObservable;
import androidx.databinding.ObservableField;

public class AddNoteViewModel extends BaseObservable {

    private final ObservableField<String> title = new ObservableField<>();

    private final ObservableField<String> description = new ObservableField<>();

    private final ObservableField<Integer> priority = new ObservableField<>();

    public String getTitle() {
        return title.get();
    }

    public void setTitle(String titleStr) {
        title.set(titleStr);
    }

    public String getDescription() {
        return description.get();
    }

    public void setDescription(String descriptionStr) {
        description.set(descriptionStr);
    }

    public Integer getPriority() {
        return priority.get();
    }

    public void setPriority(Integer p) {
        priority.set(p);
    }
}
